package online.longzipeng.cinemasys.vo.sysuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author lzp
 * @date 2021/4/9 19:39
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "管理端用户登录对象",description = "请求参数类")
public class SysUserLoginVO {

    @ApiModelProperty(value = "用户名",example = "longzipeng",required = true)
    @NotBlank(message = "用户名不能为空！！")
    private String userName;

    @ApiModelProperty(value = "密码",example = "lzp666",required = true)
    @NotBlank(message = "密码不能为空！！")
    private String password;

}
